package com.du.mybatis.dao;

import com.du.mybatis.pojo.Student;
import com.du.mybatis.pojo.Teacher;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author : DuJiabao
 * @Date : 2021/3/7 21:19
 * @Project : MyBatis
 * @File : null.java
 * @Desc :
 */
public interface TeacherMapper {
  List<Teacher> selectTeachers();

  Teacher selectTeacherById(int id);

  List<Student> selectStudentsByTId(int tid);

}
